﻿package
{
	import ASF;
	import ASSpinner;
	import org.flixel.*;
	
	public class ASSpinnerLarge extends ASSpinner
	{
		[Embed(source = 'data/spinner_large.png')] private var imgSpinner:Class;
		
		public function ASSpinnerLarge(ParentState:StateGameLoop)
		{
			super(ParentState);
			width = 32;
			height = 26;
			loadGraphic(imgSpinner, true, false, width, height, false);
			addAnimation("spinner", [0, 1, 2, 3], 4, true);
			
			
			
		}
		
		override public function spawn():void
		{
			play("spinner");
			super.spawn();
		}

		override public function hurt(Damage:Number):void
		{
			super.hurt(Damage);
		}
		
		override public function getScore():int { return ASF.SCORE_SPINNER_BIG; }
	}

}